package ${package.Service}.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import ${package.Entity}.${table.entityName};
import ${package.Service}.${table.serviceName};
import ${package.Mapper}.${table.mapperName};
import org.springframework.stereotype.Service;
import lombok.RequiredArgsConstructor;
/**
* <p>
* ${table.comment!}服务实现类
* </p>
* @author ${author}
* @since ${date}
*/
@RequiredArgsConstructor
@Service
public class ${table.entityName}ServiceImpl extends ServiceImpl<${table.entityName}Mapper, ${table.entityName}> implements ${table.entityName}Service {

    /**
     * 获取QueryWrapper对象
     * @return QueryWrapper对象
     */
    @Override
    public QueryWrapper<${table.entityName}> getQueryWrapper(){
        return Wrappers.<${table.entityName}>query();
    }

    /**
     * 获取Lambda形式的Wrapper对象
     * @return Lambda形式的Wrapper对象
     */
    @Override
    public  LambdaQueryWrapper<${table.entityName}> getLambdaWrapper(){
    return  Wrappers.<${table.entityName}>lambdaQuery();
    }

}
